<!DOCTYPE html>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org">
  <head>
    <meta charset="UTF-8"/>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"/>

    <title>Apache Syncope</title>

    <link rel="shortcut icon" href="ui-commons/img/favicon.png" type="image/png"/>

    <link href="webjars/font-awesome/${font-awesome.version}/css/all.min.css" rel="stylesheet" type="text/css"/>
    <link href="webjars/ionicons/${ionicons.version}/css/ionicons.min.css" rel="stylesheet" type="text/css"/>
    <link href="ui-commons/css/fonts.css" rel="stylesheet" type="text/css"/>

    <link href="css/AdminLTE_plugins/dataTables.bootstrap4.min.css" rel="stylesheet" type="text/css"/>
    <link href="ui-commons/css/animations.css" rel="stylesheet" type="text/css"/>
    <link href="ui-commons/css/syncopeUI.css" rel="stylesheet" type="text/css"/>
    <link href="css/syncopeConsole.css" rel="stylesheet" type="text/css"/>

    <!-- accessibility -->
    <link href="ui-commons/css/accessibility.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="ui-commons/js/accessibility.js"></script>

    <script type="text/javascript" src="webjars/bootbox/${bootbox.version}/bootbox.js"></script>
    <script type="text/javascript" src="webjars/jQuery-slimScroll/${jquery-slimscroll.version}/jquery.slimscroll.min.js"></script>
    <script type="text/javascript">
      // global variable for IndicatingOnConfirmAjaxLink
      var proceed = false;
    </script>
  </head>
  <body class="hold-transition sidebar-mini" wicket:id="body">

    <div class="wrapper">
      <span wicket:id="feedback"></span>

      <!-- Navbar -->
      <nav class="main-header navbar navbar-expand navbar-white navbar-light bg-green">
        <!-- Left navbar links -->
        <ul class="navbar-nav">
          <li class="nav-item">
            <a class="nav-link" data-widget="pushmenu" href="#" wicket:id="collapse"><i class="fas fa-bars"></i></a>
          </li>
        </ul>

        <!-- Right navbar links -->
        <ul class="navbar-nav ml-auto">
          <li class="nav-item dropdown" wicket:id="extAlertWidgets">
            <span wicket:id="extAlertWidget"/>
          </li>

          <li class="nav-item dropdown user-menu">
            <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">
              <span class="d-none d-md-inline"><label wicket:id="username"/></span>
            </a>
            <ul class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
              <!-- Menu Body -->
              <li class="user-header bg-green">
                <div class="text-right">
                  <wicket:message key="domain"/>: <label wicket:id="domain"/>
                </div>
              </li>
              <!-- Menu Footer-->
              <li class="user-footer">
                <a href="#" class="btn btn-default btn-flat float-right" wicket:id="logout"><wicket:message key="logout"/></a>
              </li>
            </ul>
          </li>

          <li class="nav-item">
            <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#"><i class="fas fa-cogs"></i></a>
          </li>
        </ul>
      </nav>
      <!-- /.navbar -->

      <!-- Main Sidebar Container -->
      <aside class="main-sidebar sidebar-light-green elevation-4">
        <div class="brand-link bg-green" style="height: 57px;">
          <span style="position: absolute;">
            <img src="ui-commons/img/logo-mini.png" alt="Apache Syncope Logo" class="brand-image" style="max-height: none; opacity: .8;"/>
            <span class="brand-text font-weight-light">Apache Syncope</span>
          </span>
        </div>

        <!-- Sidebar -->
        <div class="sidebar">
          <div class="user-panel mt-2 pb-2 mb-2 d-flex">
          </div>

          <!-- Sidebar Menu -->
          <nav class="mt-2">
            <ul class="nav nav-pills nav-sidebar flex-column nav-child-indent nav-compact" data-widget="treeview" role="menu" data-accordion="false">
              <li class="nav-item" wicket:id="dashboardLI"><a href="#" class="nav-link" wicket:id="dashboard"><i class="nav-icon fa fa-tachometer-alt"></i><p><wicket:message key="dashboard"/></p></a></li>
              <li class="nav-item" wicket:id="realmsLI"><a href="#" class="nav-link" wicket:id="realms"><i class="nav-icon fa fa-folder-open"></i><p><wicket:message key="realms"/></p></a></li>
              <li class="nav-item" wicket:id="reportsLI"><a href="#" class="nav-link" wicket:id="reports"><i class="nav-icon fa fa-chart-pie"></i><p><wicket:message key="reports"/></p></a></li>
              <wicket:container wicket:id="idmPages">
                <li class="nav-item" wicket:id="idmPageLI">
                  <a href="#" class="nav-link" wicket:id="idmPage"><i wicket:id="idmPageIcon"></i><p wicket:id="idmPageLabel"/></a>
                </li>
              </wicket:container>
              <wicket:container wicket:id="amPages">
                <li class="nav-item" wicket:id="amPageLI">
                  <a href="#" class="nav-link" wicket:id="amPage"><i wicket:id="amPageIcon"></i><p wicket:id="amPageLabel"/></a>
                </li>
              </wicket:container>
              <li wicket:id="keymasterLI" class="nav-item has-treeview">
                <a id="keymasterLink" href="#" class="nav-link"><i class="nav-icon fa fa-magic"></i><p><wicket:message key="keymaster"/></p> <i class="fas fa-angle-left right"></i></a>
                <ul wicket:id="keymasterUL" class="nav nav-treeview">
                  <li class="nav-item" wicket:id="domainsLI"><a href="#" class="nav-link" wicket:id="domains"><i class="nav-icon fa fa-code-branch"></i><p><wicket:message key="domains"/></p></a></li>
                  <li class="nav-item" wicket:id="networkservicesLI"><a href="#" class="nav-link" wicket:id="networkservices"><i class="nav-icon fa fa-server"></i><p><wicket:message key="networkservices"/></p></a></li>
                  <li class="nav-item" wicket:id="parametersLI"><a href="#" class="nav-link" wicket:id="parameters"><i class="nav-icon fa fa-cog"></i><p><wicket:message key="parameters"/></p></a></li>
                </ul>
              </li>
              <li wicket:id="configurationLI" class="nav-item has-treeview">
                <a id="configurationLink" href="#" class="nav-link"><i class="nav-icon fa fa-edit"></i><p><wicket:message key="configuration"/></p> <i class="fas fa-angle-left right"></i></a>
                <ul wicket:id="configurationUL" class="nav nav-treeview">
                  <li class="nav-item" wicket:id="auditLI"><a href="#" class="nav-link" wicket:id="audit"><i class="nav-icon far fa-check-square"></i><p><wicket:message key="audit"/></p></a></li>
                  <li class="nav-item" wicket:id="implementationsLI"><a href="#" class="nav-link" wicket:id="implementations"><i class="nav-icon far fa-file-code"></i><p><wicket:message key="implementations"/></p></a></li>
                  <li class="nav-item" wicket:id="logsLI"><a href="#" class="nav-link" wicket:id="logs"><i class="nav-icon far fa-file-alt"></i><p><wicket:message key="logs"/></p></a></li>
                  <li class="nav-item" wicket:id="notificationsLI"><a href="#" class="nav-link" wicket:id="notifications"><i class="nav-icon far fa-envelope"></i><p><wicket:message key="notifications"/></p></a></li>
                  <li class="nav-item" wicket:id="policiesLI"><a href="#" class="nav-link" wicket:id="policies"><i class="nav-icon fa fa-list"></i><p><wicket:message key="policies"/></p></a></li>
                  <li class="nav-item" wicket:id="securityLI"><a href="#" class="nav-link" wicket:id="security"><i class="nav-icon fa fa-lock"></i><p><wicket:message key="security"/></p></a></li>
                  <li class="nav-item" wicket:id="typesLI"><a href="#" class="nav-link" wicket:id="types"><i class="nav-icon fa fa-wrench"></i><p><wicket:message key="types"/></p></a></li>
                </ul>
              </li>
              <li wicket:id="extensionsLI" class="nav-item has-treeview">
                <a id="extensionsLink" href="#" class="nav-link"><i class="nav-icon fa fa-puzzle-piece"></i><p><wicket:message key="extensions"/></p> <i class="fas fa-angle-left right"></i></a>
                <ul class="nav nav-treeview">
                  <wicket:container wicket:id="extPages">
                    <li class="nav-item" wicket:id="extPageLI">
                      <a href="#" class="nav-link" wicket:id="extPage"><i wicket:id="extPageIcon"></i><p wicket:id="extPageLabel"/></a>
                    </li>
                  </wicket:container>
                </ul>
              </li>
            </ul>
          </nav>
          <!-- /.sidebar-menu -->
        </div>
        <!-- /.sidebar -->
      </aside>

      <div class="content-wrapper accent-success">
        <wicket:child/>
      </div>

      <footer class="main-footer">
        <strong>Copyright &copy; 2010&#45;${year}
          <a href="http://www.apache.org/" target="_blank" rel="noopener noreferrer">The Apache Software Foundation</a>.</strong>
        All rights reserved.
      </footer>

      <!-- Control Sidebar -->
      <aside class="control-sidebar control-sidebar-dark">
        <div class="p-3 control-sidebar-content">
          <h5><wicket:message key="systemInfo"/></h5>
          <hr class="mb-2"/>

          <div class="row">
            <div class="info-box col-12 bg-gray">
              <span class="info-box-icon"><i class="fas fa-code-branch"></i></span>

              <div class="info-box-content">
                <span class="info-box-text"><wicket:message key="version"/></span>
                <span class="info-box-number" wicket:id="version" style="text-decoration: underline;"/>
              </div>
            </div>
          </div>
          <div class="row">
            <div class="info-box col-12 bg-info">
              <span class="info-box-icon"><i class="fas fa-network-wired"></i></span>

              <div class="info-box-content">
                <span class="info-box-text"><wicket:message key="hostname"/></span>
                <span class="info-box-number" wicket:id="hostname"/>
              </div>
            </div>
          </div>
          <div class="row">
            <div class="info-box col-12 bg-green">
              <span class="info-box-icon"><i class="fas fa-microchip"></i></span>

              <div class="info-box-content">
                <span class="info-box-text"><wicket:message key="processors"/></span>
                <span class="info-box-number" wicket:id="processors"/>
              </div>
            </div>
          </div>
          <div class="row">
            <div class="info-box col-12 bg-yellow">
              <span class="info-box-icon"><i class="fas fa-desktop"></i></span>

              <div class="info-box-content">
                <span class="info-box-text"><wicket:message key="os"/></span>
                <span class="info-box-number" wicket:id="os"/>
              </div>
            </div>
          </div>
          <div class="row">
            <div class="info-box col-12 bg-primary">
              <span class="info-box-icon"><i class="fab fa-java"></i></span>

              <div class="info-box-content">
                <span class="info-box-text"><wicket:message key="jvm"/></span>
                <span class="info-box-number" wicket:id="jvm"/>
              </div>
            </div>
          </div>

          <h5><wicket:message key="exportConfiguration"/></h5>
          <hr class="mb-2"/>

          <div class="row">
            <div class="info-box col-12 bg-red">
              <span class="info-box-icon"><i class="fa fa-download"></i></span>

              <div class="info-box-content">
                <span class="info-box-text"><a wicket:id="dbExportLink"><wicket:message key="download"/></a></span>
              </div>
            </div>
          </div>

          <h5><wicket:message key="accessibility"/></h5>
          <hr class="mb-2"/>

          <div class="row">
            <div class="info-box col-12 bg-gray">
              <span class="info-box-icon"><i class="fa fa-adjust"></i></span>

              <div class="info-box-content">
                <span class="info-box-text"><a id="change_contrast" href="#"><wicket:message key="highContrast"/></a></span>
              </div>
            </div>
          </div>
          <div class="row">
            <div class="info-box col-12 bg-gray">
              <span class="info-box-icon"><i class="fa fa-font"></i></span>

              <div class="info-box-content">
                <span class="info-box-text"><a id="change_fontSize" href="#"><wicket:message key="fontSize"/></a></span>
              </div>
            </div>
          </div>
        </div>
      </aside>
      <!-- /.control-sidebar -->

      <div id="sidebar-overlay"></div>
    </div>

    <div id="veil">Loading...</div>
  </body>
</html>
